package cn.xiazhi.charging.device.service;

import cn.xiazhi.charging.pojo.param.GunStatusUpdateParam;
import cn.xiazhi.charging.pojo.param.StationInfoVO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Slf4j
@Service
public class DeviceServiceImpl implements DeviceService {
    @Override
    public StationInfoVO getStationInfo(Integer gunId) {
        log.debug("业务层 gunId:{}", gunId);
        StationInfoVO stationInfoVO = new StationInfoVO();
        stationInfoVO.setStationId(999);
        return stationInfoVO;
    }

    @Override
    public Boolean updateGunStatus(GunStatusUpdateParam param) {
        log.debug("业务层 gunId:{},status:{}", param.getGunId(), param.getStatus());
        return true;
    }
}
